package com.novax.ex.activity.open.model.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description
 * @Author Hsylient
 * @Date 2022/12/07/8:49
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "ieo活动详情")
public class IeoInfoResponse extends IeoResponse {

    @Schema(description = "支持者人数")
    private Integer supporter;

    @Schema(description = "vip限制")
    private Integer vipLimit;

    @Schema(description = "总份数")
    private Integer totalCopies;

    @Schema(description = "期望筹集到的usdt数量")
    private BigDecimal expectAmount;

    @Schema(description = "每份的数量")
    private BigDecimal amountOfCopies;

    @Schema(description = "使用某种币种来兑换活动币种，以及对应的数量")
    private List<CurrencyInfo> amountOfCopy;

    @Schema(description = "项目介绍")
    private String introduce;

    @Schema(description = "活动规则")
    private String rules;

    @Schema(description = "解冻时间")
    private Date unlockTime;

    @Schema(description = "注册天数")
    private Integer registerDays;

    @Schema(description = "计价币种(前台展示)")
    private String isPriceCurrency;

    @Schema(description = "已筹款金额 此金额单位为计价币种")
    private BigDecimal isPriceRaised;

    @Schema(description = "期望筹集到的金额 此金额单位为计价币种")
    private BigDecimal isPriceExpectAmount;

    @Schema(description = "已购买数")
    private Integer copiesPurchase;

    @Schema(description = "剩余可购买份数")
    private Integer remainingLimit;

}
